package com.zhongxi.guoyuan.adapter.rewardCoin;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.zhongxi.guoyuan.entity.coinStore.HotGoodsData;

import java.util.List;

/**
 * Created by Administrator on 2017/1/2.
 */

public class RewardHotGoodsAdapter extends BaseAdapter {

    private Context context;
    private List<HotGoodsData> data;

    public RewardHotGoodsAdapter(Context context, List<HotGoodsData> data) {
        this.context = context;
        this.data = data;
    }

    @Override
    public int getCount() {
        return data.size();
    }

    @Override
    public Object getItem(int position) {
        return data.get(position);
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        return null;
    }

    /*class ViewHolder{
        private
    }*/
}
